package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
/**
*
* 人员信息
* @Author: Administrator
* @Date: 2021/3/31 9:23
**/

public class TmcEpidemicUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long publicuserId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idnumber;

    /** 二维码值 */
    @Excel(name = "二维码值")
    private String qrcode;

    /** 0未初始化。1绿2橙3红 */
    @Excel(name = "0未初始化。1绿2橙3红")
    private Long state;

    /**创建时间*/
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPublicuserId(Long publicuserId)
    {
        this.publicuserId = publicuserId;
    }

    public Long getPublicuserId()
    {
        return publicuserId;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }
    public void setIdnumber(String idnumber)
    {
        this.idnumber = idnumber;
    }

    public String getIdnumber()
    {
        return idnumber;
    }
    public void setQrcode(String qrcode)
    {
        this.qrcode = qrcode;
    }

    public String getQrcode()
    {
        return qrcode;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("publicuserId", getPublicuserId())
                .append("username", getUsername())
                .append("idnumber", getIdnumber())
                .append("qrcode", getQrcode())
                .append("state", getState())
                .append("createtime", getCreatetime())
                .toString();
    }
}